add_executable(ThreadSafeObject01 ThreadSafeObject01.cpp
        util/MutexLock.cpp util/MutexLock.hpp Counter.cpp Counter.hpp)
target_link_libraries(ThreadSafeObject01 pthread)

add_executable(ThreadSafeObject02 ThreadSafeObject02.cpp
        util/MutexLock.cpp util/MutexLock.hpp Counter.cpp Counter.hpp)
target_link_libraries(ThreadSafeObject02 pthread)

add_executable(ThreadSafeObject03 ThreadSafeObject03.cpp
        util/MutexLock.cpp util/MutexLock.hpp Counter.cpp Counter.hpp)
target_link_libraries(ThreadSafeObject03 pthread)


add_executable(ThreadSafeObject04 ThreadSafeObject04.cpp)
target_link_libraries(ThreadSafeObject04 pthread)